package com.fanqwz.hexieshe.dagger.component;

import com.fanqwz.hexieshe.dagger.PerActivity;
import com.fanqwz.hexieshe.dagger.module.ActivityModule;
import com.fanqwz.hexieshe.fragment.ArticleFragment;
import com.fanqwz.hexieshe.fragment.CategoryFragment;
import com.fanqwz.hexieshe.fragment.HeadLineFragment;

import dagger.Component;

/**
 * Created by fanqw on 2017/7/2.
 */

@PerActivity
@Component(dependencies = ApplicationComponent.class, modules = ActivityModule.class)
public interface ActivityComponent {
    void inject(ArticleFragment fragment);
    void inject(HeadLineFragment fragment);
    void inject(CategoryFragment fragment);
}
